package com.vsen.lpr.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author yy
 * @since 2021-09-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_banner")
public class Banner extends BaseEntity<Banner> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;
    /**
     * 文件地址
     */
    private String file;
    @TableField("create_time")
    private Date createTime;
    /**
     * 0未删除 1删除
     */
    @TableField("is_deleted")
    private String isDeleted;
    /**
     * 1首页轮播图
     */
    private Integer type;


}
